<include file="Public/header"/>
<include file="Public/menu"/>

<div class="page-content">
	<div class="page-header">
		<h1>
			角色管理
			<small>
				<i class="icon-double-angle-right"></i>
				修改角色
			</small>
		</h1>
	</div>
	<!-- /.page-header -->
	<!-- PAGE CONTENT BEGINS -->
	<div class="row">
		<div class="col-xs-12">
			<div class="row">
				<div class="tabbable">
					<ul class="nav nav-tabs" id="myTab">
						<li>
							<a href="{:U('Admin/Role/index')}">
								<i class="green icon-home bigger-110"></i>
								角色列表
							</a>
						</li>
						<li class="active">
							<a>
								<i class="green icon-edit bigger-110"></i>
							修改角色							</a>
						</li>
					</ul>
					<div class="tab-content">
						<div class="row">
							<div class="col-xs-4">
								<form class="form-horizontal" action="" method="post">
									<input name="id" value="{$list['rid']}" type="hidden">
									<div class="space-10"></div>
									<div class="form-group">
										<label class="col-sm-3 control-label"> 角色名 </label>
										<div class="col-sm-9">
											<input name="rname"  type="text" value="{$list['rname']}">
										</div>
									</div>
									<div class="form-group">
										<label class="col-sm-3 control-label"> 角色昵称 </label>
										<div class="col-sm-9">
											<input name="rnick" type="text" value="{$list['rnick']}">
										</div>
									</div>
									<div class="form-group">
										<label class="col-sm-3 control-label no-padding-right" > 状态</label>
										<div class="col-sm-6">
											<input name="rstatus" class="ace"
											<if condition="$list[rstatus] eq 1">checked="checked"</if>
											 value="1" type="radio">
											<span class="lbl"> 启用 </span>
											<input name="rstatus" class="ace"
											<if condition="$list[rstatus] eq 0">checked="checked" </if>
											 value="0" type="radio">
											<span class="lbl"> 禁用 </span>
										</div>
									</div>
									<hr>
									<div class="center">
										<button class="btn btn-info " type="submit">
											<i class="icon-ok bigger-110"></i>
											提交
										</button>
									</div>
								</form>
							</div>
						</div>

					</div>
				</div>
			</div>
		</div>
	</div>
	<!-- PAGE CONTENT END -->
</div>
</div>
</div>
<!-- inline scripts related to this page -->
<include file="Public/footer"/>
